package panda.natalia.gothread.suspend.instrument.codesample;

/**
 * a simple framework of java fiber
 *
 * @Author: scpanda2007
 * @Date: 2019/11/28 17:36
 *
 * 用于查看字节码，帮助我做asm操作的代码
 *
 */
public class TestCode implements Cloneable {

    public TestCode(int some) {
        super();
    }

    public void test(int i){
        System.out.println("this is " + i);
    }

    public static void main(String[] args) throws CloneNotSupportedException {
        new TestCode(-1);
        TestCode code1 = new TestCode(0);
        TestCode code2 = (TestCode) code1.clone();
        TestCode code3 = code1 == null ? code1 : code2;
    }
}
